Search results
28 packages found
Convert classes into factory functions so they can be called with or without new.
Convert ES6 class constructor to normal function.
Call function constructors with an array of arguments that spread
A micro library for calling function as constructor, but in similar to apply() style.
A simple function which opens a VK share modal in a new tab
Don't let people use "new" on your function
Initialize new dimensional array
- array
- nested array
- child arrays
- list
- make
- new
- defaults
- multi-dimensional
- initialize
- weights
- artificial-intelligence
- functional
- initialization
A simple NPM package to help you do stuff faster then ever!
An extension to allow `Class.new(...args)` instead of `new Class(...args)`
Create factories from classes
Bind context to a function and preserves her name. Can be used to change name of a function. The toString also works correctly.
前端工具库集合, 工作业务制作, 提高编码能力, 业务开发效率
Generate a factory method from a class constructor function. Adds static methods from all super classes.
A JavaScript library with more functions for the normal Date class.
Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].
- all
- api
- args
- async
- asynchronous
- callback
- callback-style
- cb
- common
- func
- function
- hybrid
- hybridify
- hybrids
- View more
the new operator as a function
nu (new) -- functional object allocation
A function that remembers the values passed to it and returns true if a value is new.
Call function constructors with an array of arguments that spread
never type new again!
- terse
- essential
- new
- old
- simplicity
- constructor
- factory
- function
- native
- wrap
- Object
- Function
- Array
- Number
- View more